package com.fyzk.activity;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;

import com.fyzk.base.BaseActivity;
import com.fyzk.activity.fragment.ForumFragment;
import com.tyjc.lottery.R;

import org.xutils.view.annotation.ContentView;

/**
 * Created by miao on 2017/5/19.
 */
@ContentView(R.layout.ac_forum)
public class ForumActivity extends BaseActivity {

    ForumFragment forumFragment;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        FragmentManager fm = getSupportFragmentManager();
        forumFragment = (ForumFragment) fm.findFragmentById(R.id.news);
//        forumFragment.showData();

//        MToolbar toolbar = (MToolbar) findViewById(R.id.toolbar);
//        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                fragment.back();
//            }
//        });
    }
}
